package com.scpii.universal.pns.service;

import java.util.List;
import java.util.Map;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.hibernate.intface.BaseInterface;
import com.scpii.universal.pns.hibernate.entity.Field;

public class FieldService implements BaseInterface<Field> {

	private BaseDao<Field> fieldDao;
	
	public void setFieldDao(BaseDao<Field> fieldDao) {
		this.fieldDao = fieldDao;
	}

	@Override
	public Field get(Integer id) throws Exception {
		return fieldDao.get(id);
	}
	
	public Field get(Long id) throws Exception {
		return fieldDao.get(id);
	}

	@Override
	public List<Field> getAll() throws Exception {
		return null;
	}

	@Override
	public Field get(String propertyName, Object value) throws Exception {
		return null;
	}

	@Override
	public List<Field> getList(String propertyName, Object value)
			throws Exception {
		return null;
	}

	@Override
	public Long getTotalCount() throws Exception {
		return null;
	}

	@Override
	public void save(Field obj) throws Exception {
		
	}

	@Override
	public void update(Field obj) throws Exception {
		
	}

	@Override
	public void delete(Field obj) throws Exception {
		
	}

	@Override
	public void delete(Integer id) throws Exception {
		
	}

	@Override
	public List<Field> hqlGetList(String hql, Map<String, Object> argsMap)
			throws Exception {
		return null;
	}

	@Override
	public void hqlUpdate(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		
	}

	@Override
	public Long hqlGetNums(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		return null;
	}

	@Override
	public List<Field> sqlGetList(String sqls, Map<String, Object> argsMap)
			throws Exception {
		return null;
	}

	@Override
	public void sqlUpdate(String sqls, Map<String, Object> argsMap)
			throws Exception {
		
	}

	@Override
	public Long sqlGetNum(String sqls, Map<String, Object> argsMap)
			throws Exception {
		return null;
	}

}
